package cn.zzp.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.zzp.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName Shop
 * @Description
 * @Author 祝志鹏
 * @Date 2022/7/20 18:49
 */
@Data
public class Shop extends BaseDomain {
    /**
     * 店铺名称
     */
    @Excel(name = "店铺名称",width = 30)
    private String name;

    /**
     * 电话
     */
    @Excel(name = "电话",width = 30)
    private String tel;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间",width = 30,exportFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date registerTime = new Date();

    /**
     *      待审核状态【1】 - 默认状态
     *     审核通过，待激活【2】
     *     激活成功【3】
     *     审核失败->驳回【4】
     */
    @Excel(name = "店铺状态",width = 30)
    private Integer state = 1;

    /**
     * 店铺地址
     */
    @Excel(name = "店铺地址",width = 30)
    private String address;

    /**
     * 店铺门头
     */
    @Excel(name = "店铺logo",width = 30)
    private String logo;

    /**
     * 店长id
     */
    private Long admin_id;
    private Employee admin;


}
